// 新的文件被添加到上传队列
function fileQueued(file) {
	alert("fileQueued" + file);
}

// 文件选择错误
function fileQueueError(file, errorCode, message) {
	alert("fileQueueError" + errorCode + ":" + message);
}

// 对话框被关闭
function fileDialogComplete(numFilesSelected, numFilesQueued) {
	alert("fileDialogComplete");
}

// 开始上传
function uploadStart(file) {
	alert("uploadStart");
}

// 文件上传中
function uploadProgress(file, bytesLoaded, bytesTotal) {
	alert("uploadProgress" + file + "," + bytesLoaded + "," + bytesTotal);
}

// 上传成功
function uploadSuccess(file, serverData) {
	alert("uploadSuccess:" + serverData);
}

// 上传失败
function uploadError(file, errorCode, message) {
	alert("uploadError");
}


function uploadComplete(file) {
	alert("uploadComplete");
}

// This event comes from the Queue Plugin 队列中全部上传完毕
function queueComplete(numFilesUploaded) {
	alert("queueComplete");
}
